Fix CI build failures by updating nx.json inputs configuration#1
Fix CI build failures by updating nx.json inputs configuration#1
Conversation
nx.json
Outdated
| "affected": { | ||
| "defaultBase": "main" | ||
| }, | ||
| "namedInputs": { |
There was a problem hiding this comment.
remove this block please, as well as the deprecated affected block above this
|
I've addressed your feedback by removing both the namedInputs block and the deprecated affected block. I also updated the lint inputs to use {projectRoot}//* directly instead of 'default' since we no longer have named inputs. The build task still uses {projectRoot}/src//* as the input pattern. |
|
I've made additional changes to fix the remaining build failures:
These changes should resolve all the build failures. The CI checks should now pass. |
|
I've made additional changes to fix the TypeScript errors in the button scripts:
These changes should resolve all the TypeScript errors and the build should now pass. |
|
I've made one more fix to address the remaining TypeScript errors:
This should resolve all the remaining TypeScript errors and the build should now pass. |
This PR fixes the CI build failures by updating the nx.json inputs configuration.
The issue was that the build task was using 'production' and '^production' as inputs, but these named inputs were not defined in the nx.json file. According to Nx documentation, all filesets have to start with either {workspaceRoot} or {projectRoot}.
Changes made:
This should resolve the error: 'production' is an invalid fileset.